<%@page pageEncoding="UTF-8" %>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="mtw" uri="http://www.mentaframework.org/tags-mtw/"%>
 
<!DOCTYPE HTML>
<html>

        <!-- HEADER -->
			<link type ="text/css" rel="stylesheet" href="/AutoERP/css/bootstrap.css"/>
			<link rel="stylesheet" href="/AutoERP/RGraph/demos/demos.css" type="text/css" media="screen" />
		<mtw:ajaxConfig loadPrototype="true"/>
        <header class="container-fluid">
        
        <mtw:inputDateConfig />

            <div class="row-fluid">

                <div class="span12">

                    <div class="navbar">

                        <div class="navbar-inner">

                            <div class="container">
								<h2><img src="/AutoERP/img/Logo.png" alt=""></h2>


                            </div>

                        </div>

                    </div>

                </div>

            </div>


        <!-- / HEADER -->



		
		
		<script src="/AutoERP/jquery/jquery-1.9.1.min.js"></script>
		
		<!-- LIBRARIES Rgrap Quantidade de Combustivel  /AutoERP/RGraph-->
	<script src="/AutoERP/RGraph/libraries/RGraph.common.core.js" ></script>
    <script src="/AutoERP/RGraph/libraries/RGraph.common.dynamic.js" ></script>
    <script src="/AutoERP/RGraph/libraries/RGraph.common.effects.js" ></script>
    <script src="/AutoERP/RGraph/libraries/RGraph.fuel.js" ></script>
    
    <!-- SCRIPT Rgraph Quantidade de Combustivel -->
    <script>
        window.onload = function ()
        {
            var fuel = new RGraph.Fuel('combustivel', 0, 100,mtw.util.getValue("nu_qtd_combustivel"))
                .Set('scale.visible', false)
                .Set('colors', ['Gradient(white:blue)'])
                .Set('needle.color', 'blue')
                .Set('units.post', '%')
                .Draw();
            
            fuel.canvas.onclick = function (e)
            {
                var obj   = e.target.__object__;
                var value = obj.getValue(e);
                var nu_qtd_combustivel = document.getElementById("nu_qtd_combustivel");
                
                nu_qtd_combustivel.value = value;
                
                obj.value = value;
                RGraph.Effects.Fuel.Grow(obj);
            }
        }
    </script>
		
</header>

<body>
	




<div class="navbar ">
	<div class="navbar-inner">
		<div class="container-fluid">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</a>
			<a class="brand" href="#" name="top">Enterprise</a>
			<div class="nav-collapse collapse">
				<ul class="nav">
					<li><a href="<mtw:contextPath/>/jsp/index.jsp"><i class="icon-home icon-black"></i> Home</a></li>
					<li class="divider-vertical"></li>
					
					<li><a href="#"><i class="icon-lock icon-black"></i> Administrador</a></li>
					<li class="divider-vertical"></li>
					
					<li><a href="#"><i class="icon-user icon-black"></i> Funcionário</a></li>
					<li class="divider-vertical"></li>
					
					<li class="divider-vertical"><a href="<mtw:contextPath/>/Cliente.listar.mtw"><i class="icon-user icon-black"></i> Cliente</a></li>
					<li class="divider-vertical"></li>
					<li class="divider-vertical"><a href="#"><i class="icon-wrench icon-black"></i> Carro</a></li>
					<li class="divider-vertical"></li>
					<li class="active"><a href="<mtw:contextPath/>/OrdemServico.listarOS.mtw"><i class="icon-ok icon-black"></i> Serviço</a></li>
					<li class="divider-vertical"></li>
                  	<li><a href="#"><i class="icon-envelope icon-black"></i> Mensagens</a></li>
					<li class="divider-vertical"></li>
					<li><a href="#"><i class="icon-lock icon-black"></i> Permissions</a></li>
					<li class="divider-vertical"></li>
				</ul>
				<div class="btn-group pull-right">
					<!--<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-user"></i> admin	<span class="caret"></span>
					</a>-->
					<!--<ul class="dropdown-menu">
						<li><a href="#"><i class="icon-wrench"></i> Settings</a></li>
						<li class="divider"></li>
						<li><a href="#"><i class="icon-share"></i> Logout</a></li>
					</ul>-->
				</div>
			</div>
			<!--/.nav-collapse -->
		</div>
		<!--/.container-fluid -->
	</div>
	<!--/.navbar-inner -->
</div>

	<div  style=margin-left:30px>
	<div id="legend">
		<legend class="">Inserir Ordem de Serviço</legend>
	</div>

	<form action="<mtw:contextPath/>/OrdemServico.adicionar.mtw" method="post" class="well span6" >
		<fieldset>
		
		
	<div id="legend">
		<legend >Cliente</legend>
	</div>
		
		<label>Código:</label>
		<input id="id_cliente" name="id_cliente" value="<mtw:out value="cliente.id_cliente"/>" type="text" class ="span1" required placeholder ="Escreva Data de Entrada..." disabled="disabled" />		
			
		
		<label>Nome:</label>		
			<input id="de_nome" name="de_nome" value="<mtw:out value="cliente.de_nome"/>" type="text" class ="span3" required placeholder ="Escreva Data de Entrada..." disabled="disabled" />
			
			<label for="nu_tel_celular">Telefone Celular:</label>		
		<input id="nu_tel_celular" name="nu_tel_celular" value="<mtw:out value="cliente.nu_tel_celular"/>" type="text" class ="span3" placeholder ="Escreva o número do celular..." disabled="disabled" />
		<br>
		
		
		
	<div id="legend">
		<legend >Carro</legend>
	</div>
	
	<label>Código:</label>
		<input id="id_carro" name="id_carro" value="<mtw:out value="carro.id_carro"/>" type="text" class ="span1" disabled="disabled" />		
		<input type="hidden" name="id_carro" id="id_carro" value="<mtw:out value="carro.id_carro"/>">
	<label for="de_placa" class="control-label">Placa:</label>
				<div class="controls">
					 <input id="de_placa" name="de_placa" value="<mtw:out value="carro.de_placa"/>"  type="text" maxlength="7" placeholder ="Escreva a placa..." title="Campo Obrigatório" required disabled="disabled"/>
				</div>
				
<label>Modelo:</label>
		<input id="de_modelo" name="de_modelo" value="<mtw:out value="carro.de_modelo"/>" type="text" class ="span3" disabled="disabled" />		
	
	<label for="de_marca">Marca:</label>		
			<input id="de_marca" name="de_marca" value="<mtw:out value="carro.de_marca"/>" type="text" maxlength="10" class ="span3" placeholder ="Escreva a Marca..." disabled="disabled"/>
	
	<label for="de_cor">Cor:</label>		
			<input id="de_cor" name="de_cor" value="<mtw:out value="carro.de_cor"/>"  type="text" maxlength="15" class ="span3" placeholder ="Escreva a Cor..." disabled="disabled"  />
			
			<label for="dt_ano">Ano:</label>
			<input id="dt_ano" name="dt_ano" value="<mtw:out value="carro.dt_ano"/>"  type="text" maxlength="9"  class ="span3" placeholder ="Escreva o Ano..." disabled="disabled"  />			
 
 <div id="legend">
		<legend >OS</legend>
	</div>  
	
			<div class="control-group">
				<label class="control-label">Km de entrada:</label>
				<div class="controls">
					<div class="row-fluid">
						<div class="span4">
							<input type="text" class="input-medium"-block-level" autocomplete="on" maxlength="11"  placeholder ="Escreva Km de entrada"  required>
						</div>
						<div class="span8">
							<!-- screenshot may be here -->
						</div>
					</div>
				</div>
			</div>		
			<div class="control-group">
				<label class="control-label">Km de saída:</label>
				<div class="controls">
					<div class="row-fluid">
						<div class="span4">
							<input type="text" class="input-medium"-block-level" autocomplete="on" maxlength="11"  placeholder ="Escreva Km de saida"  >
						</div>
						<div class="span8">
							<!-- screenshot may be here -->
						</div>
					</div>
				</div>
			</div>
			
			<label for="combustivel">Quantidade de Combustível:</label>	
			<canvas  id="combustivel"  width="200" height="160">[No canvas support]</canvas>	
			<input type="hidden" name="nu_qtd_combustivel" id="nu_qtd_combustivel" value="<mtw:out value="nu_qtd_combustivel"/>">
			</br> 		
		
		<label>Data de Entrada:</label>	
		<mtw:inputDate  name="dt_entrada" id="dt_entrada" size="5" 
               textAlign="center" dateFormat="dd/mm/yyyy"
              title="Informe a data do cadastro"
               titleButton="Clique para abrir o calendário" />
               
				
			
			<label>Data de Saída:</label>		
			<mtw:inputDate  name="dt_saida" id="dt_saida" size="5" 
               textAlign="center" dateFormat="dd/mm/yyyy"
              title="Informe a data de saída"
               titleButton="Clique para abrir o calendário" />
			
			<label>Status:</label>		
			<input type="text" class ="span3" placeholder ="Escreva Status..." /></br>
			
		
			
	<div id="legend">
		<legend >Peças</legend> <a onclick="ajaxListarPecas();" data-toggle="modal" data-target="#ModalBuscarPeca" class="btn btn-success" class="btn btn-success" style=margin-left:320px ><i class="icon-white icon-plus-sign"></i> Adicionar Peça</a>
	
	</div>
	
	<!-- Modal Buscar Peças -->
<div id="ModalBuscarPeca" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button onclick="limparExibirPeca();" type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Buscar Peça</h3>
</div>
<div id="ModalBuscarPecaDiv"  class="modal-body">
<div id ="ModalBuscarPecaDiv-InicioTabela"class="well">

</div>

<div id ="ModalBuscarPecaDiv-ExibirPeca" >






</div>
</div>
<div class="modal-footer">

<button onclick="limparExibirPeca();" class="btn" data-dismiss="modal" aria-hidden="true">Sair</button>
</div>
</div>


<div id ="ListaDemandaPecasDiv"  class="well">
<table class="table table-striped">
      <thead>
        <tr>
          <th>Código</th>
          <th>Nome</th>
          <th>Qtd</th>
		  <th>Valor(Un)</th>
          <th style="width: 36px;"></th>
        </tr>
      </thead>
      <tbody>
      <mtw:list value="listaDemandaPecas">
					<mtw:isEmpty></mtw:isEmpty>
					<mtw:loop counter="nu_item" var="listaDemandaPecas">
        <tr>
          <td><mtw:out value="listaDemandaPecas.peca.id_peca"></mtw:out></td>
          <td><mtw:out value="listaDemandaPecas.peca.de_nome"></mtw:out></td>
          <td><mtw:out value="listaDemandaPecas.nu_quat_pecas"></mtw:out></td>
		  <td>R$ <mtw:out value="listaDemandaPecas.nu_preco"></mtw:out></td>
		  <td><a href="javascript:ajaxExcluirItemDemandaPeca(<mtw:out value="nu_item"/>);"><i
				class="icon-remove"></i></a></td>
          
        </tr>
        </mtw:loop>
		</mtw:list>
      </tbody>
    </table>
    
</div>

<div id="legend">
		<legend >Serviços</legend> <a onclick="ajaxListarServicos();" data-toggle="modal" data-target="#ModalBuscarServico" class="btn btn-success" class="btn btn-success" style=margin-left:305px ><i class="icon-white icon-plus-sign"></i> Adicionar Serviço</a>
	
	</div>
	
	<!-- Modal Buscar Serviços -->
<div id="ModalBuscarServico" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button onclick="limparExibirServico();" type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Buscar Serviço</h3>
</div>
<div id="ModalBuscarServicoDiv"  class="modal-body">
<div id ="ModalBuscarServicoDiv-InicioTabela"class="well">

</div>

<div id ="ModalBuscarServicoDiv-ExibirServico" >



</div>
</div>
<div class="modal-footer">

<button onclick="limparExibirServico();" class="btn" data-dismiss="modal" aria-hidden="true">Sair</button>
</div>
</div>


<div id ="ListaDemandaServicosDiv"  class="well">
<table class="table table-striped">
      <thead>
        <tr>
          <th>Código</th>
          <th>Nome</th>
          <th>Valor</th>
          <th style="width: 36px;"></th>
        </tr>
      </thead>
      <tbody>
      <mtw:list value="listaDemandaServicos">
					<mtw:isEmpty></mtw:isEmpty>
					<mtw:loop counter="nu_item" var="listaDemandaServicos">
        <tr>
          <td><mtw:out value="listaDemandaServicos.servico.id_servico"></mtw:out></td>
          <td><mtw:out value="listaDemandaServicos.servico.de_nome"></mtw:out></td>
          <td>R$ <mtw:out value="listaDemandaServicos.nu_preco"></mtw:out></td>
		  <td><a href="javascript:ajaxExcluirItemDemandaServico(<mtw:out value="nu_item"/>);"><i
				class="icon-remove"></i></a></td>
          
        </tr>
        </mtw:loop>
		</mtw:list>
      </tbody>
    </table>
    
</div>


<script type="text/javascript">
function ajaxListarServicos() {
	var r = new mtw.request();
	
	r.setUrl("OrdemServico.listarServicos.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
			    var peca = null;
				var htmlInicioTabela = '<table class="table table-striped"><thead><tr><th>Código</th><th>Nome</th><th>Preço</th><th style="width: 20px;"></th></tr></thead><tbody>';
				var htmlCorpoTabela = "";
				
				
				for( var index = 0; index < rq.size(); index++) {
					servico = rq.getObject(index);
					htmlCorpoTabela += '<tr><td>'+servico.id_servico+' </td><td>'+servico.de_nome+'</td><td>R$ '+servico.nu_preco+' </td><td></td>  <td><a class="btn" href="javascript:ajaxBuscarServico('+servico.id_servico+');" ><i class="icon-edit"></i> <strong>  Selecionar</strong></a></td> </tr>';

				}
				
				htmlInicioTabela += htmlCorpoTabela ;
				htmlInicioTabela += '</tbody></table>';
				document.getElementById("ModalBuscarServicoDiv-InicioTabela").innerHTML = htmlInicioTabela;
				
				
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>

<script type="text/javascript">
function ajaxListarPecas() {
	var r = new mtw.request();
	
	r.setUrl("OrdemServico.listarPecas.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
			    var peca = null;
				var htmlInicioTabela = '<table class="table table-striped"><thead><tr><th>Código</th><th>Nome</th><th>Preço</th><th style="width: 20px;"></th></tr></thead><tbody>';
				var htmlCorpoTabela = "";
				
				
				for( var index = 0; index < rq.size(); index++) {
					peca = rq.getObject(index);
					htmlCorpoTabela += '<tr><td>'+peca.id_peca+' </td><td>'+peca.de_nome+'</td><td>R$ '+peca.nu_preco+' </td><td></td>  <td><a class="btn" href="javascript:ajaxBuscarPeca('+peca.id_peca+');" ><i class="icon-edit"></i> <strong>  Selecionar</strong></a></td> </tr>';

				}
				
				htmlInicioTabela += htmlCorpoTabela ;
				htmlInicioTabela += '</tbody></table>';
				document.getElementById("ModalBuscarPecaDiv-InicioTabela").innerHTML = htmlInicioTabela;
				
				
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>


<script type="text/javascript">
function ajaxExcluirItemDemandaPeca(nu_item) {
	var r = new mtw.request();
	r.addParameter("nu_item", nu_item );
	r.setUrl("OrdemServico.excluirItemDemandaPeca.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
			document.getElementById("ListaDemandaPecasDiv").innerHTML = location.reload();
			//document.getElementById("NuValorTotalDiv").innerHTML = location.reload();
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>

<script type="text/javascript">
function ajaxExcluirItemDemandaServico(nu_item) {
	var r = new mtw.request();
	r.addParameter("nu_item", nu_item );
	r.setUrl("OrdemServico.excluirItemDemandaServico.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
			document.getElementById("ListaDemandaServicosDiv").innerHTML = location.reload();
			//document.getElementById("NuValorTotalDiv").innerHTML = location.reload();
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>

<script type="text/javascript">
function ajaxBuscarServico(id_servico) {
	var r = new mtw.request();
	r.addParameter("id_servico", id_servico );
	r.setUrl("OrdemServico.exibirServico.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
				servico = rq.getObject(0);
				var htmlExibirServico = '<strong>Item Selecionado:</strong> '+servico.de_nome+' <br> <div class="control-group"> <label class="control-label" for="inputIcon">Preço: </label><div class="controls"><div class="input-prepend"><span class="add-on">R$</span>  <input id="nu_preco" name="nu_preco" value="'+servico.nu_preco+'" type="text"  required class ="span1"  /></br></div></div></div> <a href="javascript:ajaxAddDemandaServico();" class="btn btn-success"><i class="icon-white icon-shopping-cart"></i> Adicionar</a>';
				
				
				 
									
				document.getElementById("ModalBuscarServicoDiv-ExibirServico").innerHTML = htmlExibirServico;
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>


<script type="text/javascript">
function ajaxBuscarPeca(id_peca) {
	var r = new mtw.request();
	r.addParameter("id_peca", id_peca );
	r.setUrl("OrdemServico.exibirPeca.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
				peca = rq.getObject(0);
				var htmlExibirPeca = '<strong>Item Selecionado:</strong> '+peca.de_nome+' <br> <label>Quantidade:</label> <input id="nu_quat_pecas" name="nu_quat_pecas" value="1" type="text" class ="span1" /> <div class="control-group"> <label class="control-label" for="inputIcon">Preço: </label><div class="controls"><div class="input-prepend"><span class="add-on">R$</span>  <input id="nu_preco" name="nu_preco" value="'+peca.nu_preco+'" type="text"  required class ="span1"  /></br></div></div></div> <a href="javascript:ajaxAddDemandaPeca();" class="btn btn-success"><i class="icon-white icon-shopping-cart"></i> Adicionar</a>';
				
				
				 
									
				document.getElementById("ModalBuscarPecaDiv-ExibirPeca").innerHTML = htmlExibirPeca;
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>

<script type="text/javascript">
function ajaxAddDemandaPeca() {
	var r = new mtw.request();
	r.addParameter("id_peca", mtw.util.getValue("id_peca") );
	r.addParameter("nu_quat_pecas", mtw.util.getValue("nu_quat_pecas") );
	r.addParameter("nu_preco", mtw.util.getValue("nu_preco") );
	r.setUrl("OrdemServico.addDemandaPeca.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
			//var listaDemandaPecas = null;	
			//var htmlInicioTabela = '<table class="table table-striped"><thead><tr><th>Código</th><th>Nome</th><th>Quantidade</th><th>Preço (Un)</th><th style="width: 20px;"></th></tr></thead><tbody>';
			//var htmlCorpoTabela = "";
			
		
			//for( var index = 0; index < rq.size(); index++) {
				//listaDemandaPecas = rq.getObject(index);
				//htmlCorpoTabela += '<tr><td>'+listaDemandaPecas.peca.id_peca+' </td><td>'+listaDemandaPecas.peca.de_nome+'</td><td>'+listaDemandaPecas.nu_quat_pecas+'</td><td>R$ '+listaDemandaPecas.nu_preco+' </td><td></td>  <td><a href="javascript:ajaxEditarItemPeca('+index+');" ><i class="icon-edit"></i></a></td> </tr>';

			//}
			
			//htmlInicioTabela += htmlCorpoTabela ;
			//htmlInicioTabela += '</tbody></table>';
			document.getElementById("ListaDemandaPecasDiv").innerHTML = location.reload();
			document.getElementById("NuValorTotalDiv").innerHTML = location.reload();
			
			
		
				
				
				//var htmlExibirPeca = "Peça adicionada com sucesso!";
				
				///document.getElementById("ModalBuscarPecaDiv-ExibirPeca").innerHTML = htmlExibirPeca;
				
			
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>

<script type="text/javascript">
function ajaxAddDemandaServico() {
	var r = new mtw.request();
	r.addParameter("id_servico", mtw.util.getValue("id_servico") );
	r.addParameter("nu_preco", mtw.util.getValue("nu_preco") );
	r.setUrl("OrdemServico.addDemandaServico.mtw");
	r.onSuccess(
		function (trans){
			var rq = new mtw.response(trans);
			
			//var listaDemandaPecas = null;	
			//var htmlInicioTabela = '<table class="table table-striped"><thead><tr><th>Código</th><th>Nome</th><th>Quantidade</th><th>Preço (Un)</th><th style="width: 20px;"></th></tr></thead><tbody>';
			//var htmlCorpoTabela = "";
			
		
			//for( var index = 0; index < rq.size(); index++) {
				//listaDemandaPecas = rq.getObject(index);
				//htmlCorpoTabela += '<tr><td>'+listaDemandaPecas.peca.id_peca+' </td><td>'+listaDemandaPecas.peca.de_nome+'</td><td>'+listaDemandaPecas.nu_quat_pecas+'</td><td>R$ '+listaDemandaPecas.nu_preco+' </td><td></td>  <td><a href="javascript:ajaxEditarItemPeca('+index+');" ><i class="icon-edit"></i></a></td> </tr>';

			//}
			
			//htmlInicioTabela += htmlCorpoTabela ;
			//htmlInicioTabela += '</tbody></table>';
			document.getElementById("ListaDemandaServicosDiv").innerHTML = location.reload();
			document.getElementById("NuValorTotalDiv").innerHTML = location.reload();
			
			
		
				
				
				//var htmlExibirPeca = "Peça adicionada com sucesso!";
				
				///document.getElementById("ModalBuscarPecaDiv-ExibirPeca").innerHTML = htmlExibirPeca;
				
			
				
				
				
		}
	);
	r.useLoadingMessage();
	r.send();
}
</script>

<script type="text/javascript">
function limparExibirServico() {
	
	var htmlExibirServico = "";
				
	document.getElementById("ModalBuscarServicoDiv-ExibirServico").innerHTML = htmlExibirServico;
	
	
	
				
			
}
</script>	

<script type="text/javascript">
function limparExibirPeca() {
	
	var htmlExibirPeca = "";
				
	document.getElementById("ModalBuscarPecaDiv-ExibirPeca").innerHTML = htmlExibirPeca;
	
	
	
				
			
}
</script>	

<script type="text/javascript">
function limparListaDemandaPecas() {
	
	var htmlListaPecas = "";
				
	document.getElementById("ListaDemandaPecasDiv").innerHTML = htmlListaPecas;
				
			
}
</script>				
			
			
				<div class="control-group">
						
			  <label class="control-label" for="inputIcon">Valor Total: </label>
			  <div class="controls">
				<div id ="NuValorTotalDiv" class="input-prepend">
				  <span class="add-on">R$</span>
				  <input type="text" name="nu_valor_total" id="nu_valor_total" value="<mtw:out value="nu_valor_total"/>" required class ="span1"  /></br>
				</div>
			  </div>
			</div>
			
			
			<button class ="btn btn-primary">Cadastrar</button>
			<button class ="btn">Limpar</button>
		</fieldset>
		</br>
	</br>
	<div class="nav-collapse collapse">
				<ul class="nav">
					<li><a href="#">Copyright (c) Brazil  Contact admin@enterprise.com</a>
					</li>
				</ul>
	</form>
	
	</div>
	</div>
<script src="/AutoERP/js/bootstrap.js"></script>
</body>

</html>